package com.springmvchomework.dao;

import com.springmvchomework.pojo.Student;

import java.util.List;


/**
 * @author 从卿
 * @create 2022/4/12-21:47
 */
public interface StudentDao {
    int insertStudent(Student student);//添加

    int updateStudent(Student student);//更新

    Student findStuByName(String name);//用于预查询

    List<Student> selectStu();
}
